package request

type AddCommentForm struct {
	UserId  int32  `form:"user_id" json:"user_id" binding:"required"` // 用户ID
	ShopId  int32  `form:"shop_id" json:"shop_id" binding:"required"` // 商品ID
	Content string `form:"content" json:"content" binding:"required"` // 评论内容
}

type FindShopCommentForm struct {
	ShopId int32 `form:"shop_id" json:"shop_id" binding:"required"` // 商品ID
}

type UpdateCommentForm struct {
	Id      uint32 `form:"id" json:"id" binding:"required"`           // 评论id
	UserId  int32  `form:"user_id" json:"user_id" binding:"required"` // 用户ID
	Content string `form:"content" json:"content" binding:"required"` // 评论内容
}

type DeleteCommentForm struct {
	Id uint32 `form:"id" json:"id" binding:"required"` // 评论id
}

/*type Comment struct {
	Id uint32 `json:"id"`// 评论id
	UserId int32 `json:"user_id"`// 用户ID
	ShopId int32 `json:"shop_id"`// 商品ID
	Content string `json:"content"`// 评论内容
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	DeletedAt time.Time `json:"deleted_at"`
}


*/
